perm filename PROTO[CMS,LCS]1 blob
sn#375357 filedate 1978-08-20 generic text, type T, neo UTF8
00100 Floppy disk serial protocol.
00200
00300 EC = Error code.
00400 "A" = ASCII = 101.
00500 <Xxxx> = 1 Byte.
00600 0 <= n <= 16.
00700
00800 Host Floppy
00900 --------------------------------
01000 Write
01100 --------------------------------
01200 1
01300 "W"
01400 4
01500 6 or EC
01600 2
01700 <Data> * 256
01800 <Check sum>
01900 6 or EC
02000 --------------------------------
02100 Read
02200 --------------------------------
02300 1
02400 "R"
02500 4
02600 6 or EC
02700 2
02800 <Data> * 256
02900 <Check sum>
03000 --------------------------------
03100 Define file
03200 --------------------------------
03300 1
03400 "E"
03500 <File name> * 9
03600 4
03700 6 or EC
03800 --------------------------------
03900 Close
04000 --------------------------------
04100 1
04200 "C"
04300 4
04400 6 or EC
04500 --------------------------------
04600 Select file
04700 --------------------------------
04800 1
04900 "O"
05000 <File name> * 9
05100 4
05200 6 or EC
05300 --------------------------------
05400 Delete file
05500 --------------------------------
05600 1
05700 "K"
05800 <File name> * 9
05900 4
06000 6 or EC
00100 Host Floppy
00200 --------------------------------
00300 Request directory
00400 --------------------------------
00500 1
00600 "D"
00700 4
00800 6 or EC
00900 --------------------------------
01000 Send next directory
01100 --------------------------------
01200 1
01300 "N"
01400 4
01500 6 or EC
01600 2
01700 n * (<":"> <File name>*9 <File length>)
01800 4
01900 --------------------------------
02000 Request free blocks
02100 --------------------------------
02200 1
02300 "B"
02400 4
02500 6 or EC
02600 2
02700 <Lsbyte of free blocks>
02800 <Msbyte>
02900 4
03000 --------------------------------
03100 Perform special function
03200 --------------------------------
03300 1
03400 "P"
03500 4
03600 6 or EC
03700 --------------------------------
03800 Format disk
03900 --------------------------------
04000 1
04100 "F"
04200 4
04300 6 or EC
04400 --------------------------------
04500 Initialize directory
04600 --------------------------------
04700 1
04800 "I"
04900 4
05000 6 or EC
05100 --------------------------------
05200 Compress disk
05300 --------------------------------
05400 1
05500 "Q"
05600 4
05700 6 or EC
00100 Error codes.
00200 All error codes are in octal.
00300
00400 2 File already exists.
00500
00600 3 File does not exist.
00700
00800 4 Illegal command.
00900
01000 5 Disk full.
01100
01200 6 End of file.
01300
01400 7 Initialize error.
01500
01600 10 File already open.
01700
01800 11 Communication error.
01900
02000 13 Directory read error.
02100
02200 14 Block check error.